package com.smzd.framework.utils;

import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.TimeUnit;

import com.google.common.collect.MapMaker;
import com.smzd.framework.system.domain.User;

public class ConcurrentMapUtil {
    private final static ConcurrentMap<String, User> users; 
    static{
        users = new MapMaker().expiration(105, TimeUnit.SECONDS).makeMap();
    }
    public static ConcurrentMap<String, User> getUserConcurrentMap(){
        return users;
    }

}
